Eclipse Platform
Pre-release 3.0

org.eclipse.swt.browser
Class LocationAdapter

java.lang.Object
  extended byorg.eclipse.swt.browser.LocationAdapter
All Implemented Interfaces:
EventListener, LocationListener, org.eclipse.swt.internal.SWTEventListener

public abstract class LocationAdapter
extends Object
implements LocationListener

This adapter class provides default implementations for the methods described by the LocationListener interface.

Classes that wish to deal with LocationEvents can extend this class and override only the methods which they are interested in.

NOTE: The API in the browser package is NOT finalized. Use at your own risk, because it will most certainly change. The only reason this API is being released at this time is so that other teams can try it out.

See Also:
LocationListener, LocationEvent

Constructor Summary
LocationAdapter()
           
 
Method Summary
 void changed(LocationEvent event)
          This method is called when the current location is changed.
 void changing(LocationEvent event)
          This method is called when the current location is about to be changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationAdapter

public LocationAdapter()
Method Detail

changing

public void changing(LocationEvent event)
This method is called when the current location is about to be changed.

Specified by:
changing in interface LocationListener
Since:
3.0
See Also:
LocationEvent

changed

public void changed(LocationEvent event)
This method is called when the current location is changed.

Specified by:
changed in interface LocationListener
Since:
3.0
See Also:
LocationEvent

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.